/**
 * 
 */
package com.ordoict.smallsettlement.common.xml.entity;

import java.util.LinkedList;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

/**
 * DESC : 
 *
 * @company : OrdoICT.,Inc
 * @author  : Choi Jin Wook // choijinwook84@ordoict.com
 * @version : 1.0.0
 * @since   : 2013. 12. 9.
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class UnmarshallObject {

    @XmlAttribute(name="id")   private String id;
    @XmlAttribute(name="type") private String type;
    @XmlAttribute(name="telegramLength") private int telegramLength;
    @XmlAttribute(name="startWith") private int startWith;
    @XmlElement(name="property") private LinkedList<UnmarshallProperty> property;

    /**
     * Object의 ID Setter 입니다.
     * @param id
     */
    public void setId(String id){
        this.id = id;
    }
    
    /**
     * Object의 ID Getter 입니다.
     * @return Object ID
     */
    public String getId(){
        return id;
    }
    
    /**
     * Object의 Type Class Setter 입니다.
     * @param type
     */
    public void setType(String type){
        this.type = type;
    }
    
    /**
     * Object의 Type Class Getter 입니다.
     * @return Class Type
     */
    public String getType(){
        return type;
    }
    
    /**
     * @since 2013. 12. 11.
     * @return the telegramLength
     */
    public int getTelegramLength() {
        return telegramLength;
    }

    /**
     * @since 2013. 12. 11.
     * @param telegramLength the telegramLength to set
     */
    public void setTelegramLength(int telegramLength) {
        this.telegramLength = telegramLength;
    }

    /**
     * @since 2013. 12. 11.
     * @return the startWith
     */
    public int getStartWith() {
        return startWith;
    }

    /**
     * @since 2013. 12. 11.
     * @param startWith the startWith to set
     */
    public void setStartWith(int startWith) {
        this.startWith = startWith;
    }

    /**
     * Unmarshall을 할 Property List Setter
     * @param Property List
     */
    public void setProperty(LinkedList<UnmarshallProperty> property){
        this.property = property;
    }
    
    /**
     * Unmarshall을 할 Property List Getter
     * @return Property List
     */
    public LinkedList<UnmarshallProperty> getProperty(){
        return property;
    }
    
}
